home *** CD-ROM | disk | FTP | other *** search
- Path: rcp6.elan.af.mil!rscernix!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: Leap Years
- Date: 21 Feb 96 01:05:59 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.824864759@rscernix>
- References: <8BA8405.02C70020E1.uuout@sourcebbs.com> <4fsk14$jo2@kocrsv08.delcoelect.com> <3121EF9A.CA5@mail.isd.net> <4g28ut$p87@taurus.fccc.edu> <fcusack-1602961256070001@mudskipper.cac.psu.edu> <4gdp4e$9go@maureen.teleport.com>
- NNTP-Posting-Host: ues5.cern.ch
- X-Newsreader: NN version 6.5.0 #7 (NOV)
-
- In <4gdp4e$9go@maureen.teleport.com> GHouck <hksys@teleport.com> writes:
-
- >I didn't quite see the rule I've known to exist for Leap Years:
- >
- > Lyear = year/4 (yes) except year/100 (no) except year/1000 (yes)
-
- And for a very good reason: your rule is broken. Replace 1000 by 400
- to get the correct one.
-
- How about reading the FAQ of the newsgroup before posting nonsense?
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-